<%--
  Created by IntelliJ IDEA.
  User: snowy
  Date: 2022/7/3
  Time: 19:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改信息</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/styles.css" rel="stylesheet">
</head>
<style>
    body{
        background:url(image/背景图.jpg) no-repeat center top;
        background-size:cover;
        background-attachment:fixed;
    }
    form{
        align-content: center;
        color: white;
        border: 3px solid #ffdd00;

    }
    .person-box{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 400px;
        padding:40px;
        background: rgba(0,0,0,.8);
        box-sizing: border-box;
        box-shadow: 0 15px  25px rgba(0,0,0,.5);
        border-radius: 10px;}
    h2{
        color: whitesmoke;
    }
</style>
<body>
<header style="background: #0B0B0B">
    <nav id="main-nav" class="navbar navbar-default navbar-fixed-top" role="banner">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" ><img src="image/logo.png" alt="logo"></a>
            </div>

            <div class="collapse navbar-collapse navbar-right">
                <ul class="nav navbar-nav">
                    <li class="scroll "><a href="index.jsp">首页</a></li>
                    <li class="scroll active"><a href="person.jsp">个人信息</a></li>
                    <li class="scroll"><a href="OrderServlet">我的订单</a></li>
                    <li class="scroll"><a href="#">联系客服</a></li>
                </ul>
            </div>
        </div>
    </nav></header>
<br>
<br>
<br>
<br>
<br><div class="person-box">
        <h2>修改个人信息</h2>
    <form align="center" action="PersonServlet"><br>
        <%!
            String userID;
            String Tel;
            String Email;
//            String Name;
            String Sex;
            String Birth;
            String Password;
        %>
        <%
            userID=request.getParameter("UserID");
            Tel=request.getParameter("Tel");
            Email=request.getParameter("Email");
            Sex=request.getParameter("Sex");
            Birth=request.getParameter("Birth");
//            Name=request.getParameter("Name");
        %>
        用户名：<input type="text" style="color: #0B0B0B" name="UserID" value="<%=userID%>">
        <br>
        <br>
        旧密码：<input type="text" style="color: #0B0B0B" name="oldPassword" placeholder="如需更改请先输入原密码">
        <br><br>
        新密码：<input type="text" style="color: #0B0B0B" name="newPassword" placeholder="请输入新密码">
        <br><br>
        <lable>手机：</lable>
        <input type="text"  name="Tel" style="color: #0B0B0B" value= <%=Tel%> >
        <br>
        <br>
        邮箱：<input type="text" style="color: #0B0B0B" name="Email" value= <%=Email%>>
        <br>
        <br>
        性别：<input type="text" style="color: #0B0B0B" name="Sex" value= <%=Sex%>>
        <br>
        <br>
        生日：<input type="text" style="color: #0B0B0B" name="Birth" value= <%=Birth%>>
        <br>
        <br>

        <input type="submit" value="确定修改"/>
    </form>
</div>

</body>
</html>
